SUBDIRS = myctype mystr demo

MAINTAINERCLEANFILES = Makefile.in

EXTRA_DIST = libburmese.map libburmese.def

lib_LTLIBRARIES = libburmese.la

libburmese_sublibs = \
	$(top_builddir)/src/myctype/libmyctype.la \
	$(top_builddir)/src/mystr/libmystr.la 

if LD_HAS_VERSION_SCRIPT
EXPORTS_FLAGS = -Wl,-version-script -Wl,$(srcdir)/libburmese.map
EXPORTS_DEPS = libburmese.map
else
EXPORTS_FLAGS = -export-symbols $(srcdir)/libburmese.def
EXPORTS_DEPS = libburmese.def
endif

libburmese_la_SOURCES = libburmese.c
libburmese_la_LIBADD = $(libburmese_sublibs)
libburmese_la_LDFLAGS = -no-undefined \
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
	$(EXPORTS_FLAGS)
libburmese_la_DEPENDENCIES = $(EXPORTS_DEPS) $(libburmese_sublibs)
